package com.zzj.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

/**
 * <p>
 * 医护排班
 * </p>
 *
 * @author zzj
 * @since 2023-05-12
 */
@TableName("picc_nurse_schedule")
public class NurseSchedule implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户名
     */
    private String username;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 工号
     */
    private String jobNum;

    /**
     * 医护姓名
     */
    private String nurseName;

    /**
     * 开始
     */
    private String start;

    /**
     * 结束
     */
    private String end;

    /**
     * 医院
     */
    private String hospital;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

    /**
     * 预约人数
     */
    private Integer appointmentNum;

    /**
     * 0未预约 1已预约
     */
    private Integer isAppointment;

    /**
     * 价格
     */
    private Object price;

    /**
     * 可预约数
     */
    private Integer usableNum;

    /**
     * 上班时间
     */
    private String startWorkTime;

    /**
     * 上班地址
     */
    private String startWorkAddress;

    /**
     * 下班时间
     */
    private String endWorkTime;

    /**
     * 下班地址
     */
    private String endWorkAddress;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getJobNum() {
        return jobNum;
    }

    public void setJobNum(String jobNum) {
        this.jobNum = jobNum;
    }

    public String getNurseName() {
        return nurseName;
    }

    public void setNurseName(String nurseName) {
        this.nurseName = nurseName;
    }

    public String getStart() {
        return start;
    }

    public void setStart(String start) {
        this.start = start;
    }

    public String getEnd() {
        return end;
    }

    public void setEnd(String end) {
        this.end = end;
    }

    public String getHospital() {
        return hospital;
    }

    public void setHospital(String hospital) {
        this.hospital = hospital;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getAppointmentNum() {
        return appointmentNum;
    }

    public void setAppointmentNum(Integer appointmentNum) {
        this.appointmentNum = appointmentNum;
    }

    public Integer getIsAppointment() {
        return isAppointment;
    }

    public void setIsAppointment(Integer isAppointment) {
        this.isAppointment = isAppointment;
    }

    public Object getPrice() {
        return price;
    }

    public void setPrice(Object price) {
        this.price = price;
    }

    public Integer getUsableNum() {
        return usableNum;
    }

    public void setUsableNum(Integer usableNum) {
        this.usableNum = usableNum;
    }

    public String getStartWorkTime() {
        return startWorkTime;
    }

    public void setStartWorkTime(String startWorkTime) {
        this.startWorkTime = startWorkTime;
    }

    public String getStartWorkAddress() {
        return startWorkAddress;
    }

    public void setStartWorkAddress(String startWorkAddress) {
        this.startWorkAddress = startWorkAddress;
    }

    public String getEndWorkTime() {
        return endWorkTime;
    }

    public void setEndWorkTime(String endWorkTime) {
        this.endWorkTime = endWorkTime;
    }

    public String getEndWorkAddress() {
        return endWorkAddress;
    }

    public void setEndWorkAddress(String endWorkAddress) {
        this.endWorkAddress = endWorkAddress;
    }

    @Override
    public String toString() {
        return "NurseSchedule{" +
                "id = " + id +
                ", username = " + username +
                ", avatar = " + avatar +
                ", jobNum = " + jobNum +
                ", nurseName = " + nurseName +
                ", start = " + start +
                ", end = " + end +
                ", hospital = " + hospital +
                ", createTime = " + createTime +
                ", updateTime = " + updateTime +
                ", appointmentNum = " + appointmentNum +
                ", isAppointment = " + isAppointment +
                ", price = " + price +
                ", usableNum = " + usableNum +
                ", startWorkTime = " + startWorkTime +
                ", startWorkAddress = " + startWorkAddress +
                ", endWorkTime = " + endWorkTime +
                ", endWorkAddress = " + endWorkAddress +
                "}";
    }
}
